CentOS 7
Sponsored Link

OpenStack Ocata : Openstack Packstack
2017/03/06
 
Build Openstack Allinone Environment quickly by Packstack.
It's possible to build it with a command.
[1] The requirements are CentOS 7 Base and Openstack Ocata Repo & EPEL Repo and Packstack package only. Other packages are installed and configured by Packstack automatically.
[root@dlp ~]#
yum -y install centos-release-openstack-ocata epel-release

[root@dlp ~]#
yum -y install openstack-packstack
[2] Execute Packstack like follows.
[root@dlp ~]#
packstack --allinone

[3] Keystone, Glance, Nova, Neutron, Swift, Cinder Ceilometer(+ Aodh,Gnocchi) are installed and configured by packstack like follows. But if you'd like to install more components like Trove or Sagara and others, it's possible to specify options with packstack command.
[root@dlp ~]#
source keystonerc_admin

[root@dlp ~(keystone_admin)]#
openstack user list

+----------------------------------+------------+
| ID                               | Name       |
+----------------------------------+------------+
| 0e905d271fdc4a749da548d73603be68 | placement  |
| 121928dd412d400c953cd6ac30aef257 | swift      |
| 16bffb1d9414426cbd60ec4e73188a33 | nova       |
| 174a0e6d98984f398666e249e5c2befa | glance     |
| 26bd5e6f27404893ad74e5aa373e94c1 | cinder     |
| 4ee32daec6b949b4931835a6a55976b7 | admin      |
| 5a4121650fb743ebad58bc9d8eeb17bd | neutron    |
| 7b79e145383c434289abd45e33bc5b5a | demo       |
| f3a60fca142d4303af75057a329e2acd | gnocchi    |
| fb4940837d6c49189bc86886e2511cf9 | aodh       |
| fea82f50360a43f1bde37c3a2a9db80f | ceilometer |
+----------------------------------+------------+

[root@dlp ~(keystone_admin)]#
openstack project list

+----------------------------------+----------+
| ID                               | Name     |
+----------------------------------+----------+
| 090eb588bfc24347ac37b1a37b545bc7 | services |
| 2b9108c322ff44009cf1c17558a36928 | demo     |
| 81558f3374d14e3f92a92735f26626c7 | admin    |
+----------------------------------+----------+

[root@dlp ~(keystone_admin)]#
openstack service list

+----------------------------------+------------+--------------+
| ID                               | Name       | Type         |
+----------------------------------+------------+--------------+
| 09f9d37fb0c94491a21101b79ce58359 | keystone   | identity     |
| 1b0a14cb47b6452b805a2632b8fd790e | cinderv3   | volumev3     |
| 40c6584cf0f5408a910f532a4cfa6bcf | neutron    | network      |
| 41eb7a38f99949f0b6456a608871305c | placement  | placement    |
| 689501869ac146c4a0a1247b420fe3af | nova       | compute      |
| 87027868899d423d8450db4ac3da3c91 | gnocchi    | metric       |
| 8cad3fae159d4bcbaea7a17bf7b49cb6 | swift      | object-store |
| ab98e50eaaaa444c8039b19dd6c270ab | glance     | image        |
| c7d9dc4525bd439091a5a8b03829efdb | ceilometer | metering     |
| cec307a8a8ae4ba7af41bd26beb75efc | cinder     | volume       |
| ec3c3736a8bd413d94bd1904c236e655 | aodh       | alarming     |
| f5723477f2aa4e03be79066aa017aab9 | cinderv2   | volumev2     |
+----------------------------------+------------+--------------+

[root@dlp ~(keystone_admin)]#
openstack catalog list

+------------+--------------+----------------------------------------------------------------------------+
| Name       | Type         | Endpoints                                                                  |
+------------+--------------+----------------------------------------------------------------------------+
| keystone   | identity     | RegionOne                                                                  |
|            |              |   public: http://10.0.0.54:5000/v3                                         |
|            |              | RegionOne                                                                  |
|            |              |   internal: http://10.0.0.54:5000/v3                                       |
|            |              | RegionOne                                                                  |
|            |              |   admin: http://10.0.0.54:35357/v3                                         |
|            |              |                                                                            |
| cinderv3   | volumev3     | RegionOne                                                                  |
|            |              |   admin: http://10.0.0.54:8776/v3/81558f3374d14e3f92a92735f26626c7         |
|            |              | RegionOne                                                                  |
|            |              |   internal: http://10.0.0.54:8776/v3/81558f3374d14e3f92a92735f26626c7      |
|            |              | RegionOne                                                                  |
|            |              |   public: http://10.0.0.54:8776/v3/81558f3374d14e3f92a92735f26626c7        |
|            |              |                                                                            |
| neutron    | network      | RegionOne                                                                  |
|            |              |   public: http://10.0.0.54:9696                                            |
|            |              | RegionOne                                                                  |
|            |              |   admin: http://10.0.0.54:9696                                             |
|            |              | RegionOne                                                                  |
|            |              |   internal: http://10.0.0.54:9696                                          |
|            |              |                                                                            |
| placement  | placement    | RegionOne                                                                  |
|            |              |   admin: http://10.0.0.54:8778/placement                                   |
|            |              | RegionOne                                                                  |
|            |              |   public: http://10.0.0.54:8778/placement                                  |
|            |              | RegionOne                                                                  |
|            |              |   internal: http://10.0.0.54:8778/placement                                |
|            |              |                                                                            |
| nova       | compute      | RegionOne                                                                  |
|            |              |   public: http://10.0.0.54:8774/v2.1/81558f3374d14e3f92a92735f26626c7      |
|            |              | RegionOne                                                                  |
|            |              |   internal: http://10.0.0.54:8774/v2.1/81558f3374d14e3f92a92735f26626c7    |
|            |              | RegionOne                                                                  |
|            |              |   admin: http://10.0.0.54:8774/v2.1/81558f3374d14e3f92a92735f26626c7       |
|            |              |                                                                            |
| gnocchi    | metric       | RegionOne                                                                  |
|            |              |   public: http://10.0.0.54:8041                                            |
|            |              | RegionOne                                                                  |
|            |              |   internal: http://10.0.0.54:8041                                          |
|            |              | RegionOne                                                                  |
|            |              |   admin: http://10.0.0.54:8041                                             |
|            |              |                                                                            |
| swift      | object-store | RegionOne                                                                  |
|            |              |   public: http://10.0.0.54:8080/v1/AUTH_81558f3374d14e3f92a92735f26626c7   |
|            |              | RegionOne                                                                  |
|            |              |   internal: http://10.0.0.54:8080/v1/AUTH_81558f3374d14e3f92a92735f26626c7 |
|            |              | RegionOne                                                                  |
|            |              |   admin: http://10.0.0.54:8080/v1/AUTH_81558f3374d14e3f92a92735f26626c7    |
|            |              |                                                                            |
| glance     | image        | RegionOne                                                                  |
|            |              |   internal: http://10.0.0.54:9292                                          |
|            |              | RegionOne                                                                  |
|            |              |   public: http://10.0.0.54:9292                                            |
|            |              | RegionOne                                                                  |
|            |              |   admin: http://10.0.0.54:9292                                             |
|            |              |                                                                            |
| ceilometer | metering     | RegionOne                                                                  |
|            |              |   admin: http://10.0.0.54:8777                                             |
|            |              | RegionOne                                                                  |
|            |              |   internal: http://10.0.0.54:8777                                          |
|            |              | RegionOne                                                                  |
|            |              |   public: http://10.0.0.54:8777                                            |
|            |              |                                                                            |
| cinder     | volume       | RegionOne                                                                  |
|            |              |   public: http://10.0.0.54:8776/v1/81558f3374d14e3f92a92735f26626c7        |
|            |              | RegionOne                                                                  |
|            |              |   admin: http://10.0.0.54:8776/v1/81558f3374d14e3f92a92735f26626c7         |
|            |              | RegionOne                                                                  |
|            |              |   internal: http://10.0.0.54:8776/v1/81558f3374d14e3f92a92735f26626c7      |
|            |              |                                                                            |
| aodh       | alarming     | RegionOne                                                                  |
|            |              |   public: http://10.0.0.54:8042                                            |
|            |              | RegionOne                                                                  |
|            |              |   internal: http://10.0.0.54:8042                                          |
|            |              | RegionOne                                                                  |
|            |              |   admin: http://10.0.0.54:8042                                             |
|            |              |                                                                            |
| cinderv2   | volumev2     | RegionOne                                                                  |
|            |              |   internal: http://10.0.0.54:8776/v2/81558f3374d14e3f92a92735f26626c7      |
|            |              | RegionOne                                                                  |
|            |              |   public: http://10.0.0.54:8776/v2/81558f3374d14e3f92a92735f26626c7        |
|            |              | RegionOne                                                                  |
|            |              |   admin: http://10.0.0.54:8776/v2/81558f3374d14e3f92a92735f26626c7         |
|            |              |                                                                            |
+------------+--------------+----------------------------------------------------------------------------+
 
Tweet